//////////////////////////////////////////////////////////////////////
//
//	Copyright 2010-2011 Rogo's Team. All Rights Reserved
//
//////////////////////////////////////////////////////////////////////
package com.rogo.mvc.sub.observer
{
	import com.rogo.mvc.interfaces.INotification;
	
	public class Notification implements INotification
	{
		/**
		 * 通知名称 
		 */		
		private var _name:String;
		
		/**
		 * 传递对象
		 */		
		private var _param:Object;
		
		public function Notification(name:String, param:Object)
		{
			super();
			_name = name;
			this.param = param;
		}
		
		public function get name():String
		{
			return _name;
		}
		
		public function set param(param:Object):void
		{
			_param = param;
		}
		
		public function get param():Object
		{
			return _param;
		}
	}
}